using System;
using DevExpress.Xpo;

namespace BusinessObjects
{

    public class BoPhan : XPObject
    {
        public BoPhan()
            : base()
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public BoPhan(Session session)
            : base(session)
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public override void AfterConstruction()
        {
            base.AfterConstruction();
            // Place here your initialization code.
        }

        //Fields

        private string _tenBoPhan;

        [DbType("nvarchar(200)")]
        public string TenBoPhan
        {
            get { return _tenBoPhan; }
            set { _tenBoPhan = value; }
        }
        private string _moTa;

        [DbType("nvarchar(4000)")]
        public string MoTa
        {
            get { return _moTa; }
            set { _moTa = value; }
        }

    }

}